package com.lanyam.travel.base.service;


import com.lanyam.travel.base.entity.CaseWithdra;
import com.lanyam.travel.base.entity.DistrRecord;
import com.lanyam.travel.base.entity.vo.CaseWithdraVo;

import java.util.List;
import java.util.Map;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.lanyam.travel.base.entity.vo.DistrRecordVo;


public interface ICaseWithdraService {

    /**
     * 查询列表数据
     */
    IPage<CaseWithdraVo> getPageCaseWithdra(Map<String, Object> queryMap, Integer page, Integer rows);

    /**
     * 新增列表数据
     */
    void addCaseWithdra(CaseWithdra caseWithdra);

    /**
     * 修改列表数据
     */
    void updateCaseWithdra(CaseWithdra caseWithdra);
    /**
     * 修改列表数据
     */
    void delById(String id);

    /**
     * 计算订单的提现信息
     */
    void calcCash();

    /**
     * 根据订单id计算分销提成列表
     * @param orderId
     * @return
     */
    List<DistrRecordVo> calcDistrRecord(String orderId);
}